﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Domain.ProductionTasks
{
    /// <summary>
    /// 任务类型
    /// </summary>
    [SugarTable("TaskType")]
    public class TaskType
    {
        /// <summary>
        /// 任务类型ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//IsPrimaryKey 主键 IsIdentity 自增
        public int TaskTypeId { get; set; }
        /// <summary>
        /// 任务类型名称
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(50)")]//设置长度
        public string? TaskTypeName { get; set; }
        /// <summary>
        /// 是否删除 1-未删除；2-删除
        /// </summary>
        public int? IsDel { get; set; }
    }
}
